/**
 * 
 */
package com.swim.settlementapplyorder.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.swim.settlementapplyorder.entity.SettlementapplyOrder;
import com.swim.settlementapplyorder.dao.SettlementapplyOrderDao;

/**
 * 结算申请_订单关系表Service
 * @author 刘军武
 * @version 2021-03-03
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class SettlementapplyOrderService extends CrudService<SettlementapplyOrderDao, SettlementapplyOrder> {
	
	/**
	 * 获取单条数据
	 * @param settlementapplyOrder
	 * @return
	 */
	@Override
	public SettlementapplyOrder get(SettlementapplyOrder settlementapplyOrder) {
		return super.get(settlementapplyOrder);
	}
	
	/**
	 * 查询分页数据
	 * @param page 分页对象
	 * @param settlementapplyOrder
	 * @return
	 */
	@Override
	public Page<SettlementapplyOrder> findPage(Page<SettlementapplyOrder> page, SettlementapplyOrder settlementapplyOrder) {
		return super.findPage(page, settlementapplyOrder);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param settlementapplyOrder
	 */
	@Override
	@Transactional(readOnly=false)
	public void save(SettlementapplyOrder settlementapplyOrder) {
		super.save(settlementapplyOrder);
	}
	
	/**
	 * 更新状态
	 * @param settlementapplyOrder
	 */
	@Override
	@Transactional(readOnly=false)
	public void updateStatus(SettlementapplyOrder settlementapplyOrder) {
		super.updateStatus(settlementapplyOrder);
	}
	
	/**
	 * 删除数据
	 * @param settlementapplyOrder
	 */
	@Override
	@Transactional(readOnly=false)
	public void delete(SettlementapplyOrder settlementapplyOrder) {
		super.delete(settlementapplyOrder);
	}
	
}